package com.lzg.danyi;

/**
 * @Author lizhigang Date: 2019/9/8 21:43
 * @description:
 */
public class Course {
    public void pay(String payName){
        if("支付宝".equals(payName)){
            System.out.println(payName+"支付逻辑");
        }else{
          System.out.println(payName+"支付逻辑");
        }
    }
}
